cmake_minimum_required(VERSION 3.25)
project(OpenVINOExample1)

set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

set(OpenVINO_DIR "../../GithubLibs/openvino_toolkit_macos_12_6_2025.2.0.19140.c01cd93e24d_arm64/runtime/cmake")
set(TBB_DIR "../../GithubLibs/openvino_toolkit_macos_12_6_2025.2.0.19140.c01cd93e24d_arm64/runtime/3rdparty/tbb/lib/cmake/TBB")
find_package(OpenVINO REQUIRED)
find_package(TBB REQUIRED)

set(STB_PATH "../../GithubLibs/stb")
add_definitions(-DSTB_IMAGE_IMPLEMENTATION)

add_executable(${PROJECT_NAME} main.cpp ${STB_PATH}/stb_vorbis.c)
target_include_directories(${PROJECT_NAME} PRIVATE ${STB_PATH})
target_link_libraries(${PROJECT_NAME} PRIVATE openvino::runtime TBB::tbb)
